package com.brillilab.service.core.experiments;


import com.brillilab.domain.po.experiments.ExperimentGroupRelation;

import java.util.List;

/**
 * <p>
 * 实验分组 服务类
 * </p>
 *
 * @author WuMenghao
 * @since 2019-09-05
 */
public interface IExperimentGroupRelationService {

    boolean insertBatch(List<ExperimentGroupRelation> entitys);

    List<ExperimentGroupRelation> selectList(Long experimentId);

    ExperimentGroupRelation selectById(Long id);

    List<ExperimentGroupRelation> selectByParentId(List<Long> parentIds);

    boolean deleteBatch(List<Long> ids);

    boolean deleteByExperimentId(Long experimentId);
    
    ExperimentGroupRelation insert(ExperimentGroupRelation relation);
}
